package com.wenhui.schoolyardinfo.mine.ui;

import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.qmuiteam.qmui.widget.QMUITopBar;
import com.wenhui.schoolyardinfo.R;
import com.wenhui.schoolyardinfo.base.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * author    : Urasaki
 * e-mail    : 1164688204@qq.com
 * date      : 2019/7/5 17:00
 * introduce : 个性标签Activity
 */

public class PersonalSignatureActivity extends BaseActivity {

    @BindView(R.id.imv_back)
    ImageView imvBack;
    @BindView(R.id.layout_back)
    RelativeLayout layoutBack;
    @BindView(R.id.tev_title)
    TextView tevTitle;
    @BindView(R.id.tev_complete)
    TextView tevComplete;
    @BindView(R.id.topbar)
    QMUITopBar topbar;
    @BindView(R.id.edt_personal_signature)
    EditText edtPersonalSignature;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_personal_signature);
        ButterKnife.bind(this);

        initData();
        initViews();
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initViews() {
        setTopBar(topbar);
    }

    @OnClick({R.id.layout_back, R.id.tev_complete})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.layout_back:
                finish();
                break;
            case R.id.tev_complete:

                showToast(edtPersonalSignature.getText().toString());
                break;
        }
    }
}
